import { personnelAuthList } from "@/Auth/personnel.js";
export const defaultProps = { label: "name", children: "sub" };
export const defaultTime = [
  new Date(2000, 1, 1, 0, 0, 0),
  new Date(2000, 2, 1, 23, 59, 59),
];
export const statusOptions = [
  { label: "启用", value: 1 },
  { label: "禁用", value: 0 },
];
export const accountType = [
  { label: "系统新增", value: 0 },
  { label: "自建账号", value: 1 },
];
export const jobType = [
  { label: "在职", value: 1 },
  { label: "离职", value: 0 },
];
export const batchList = [
  {
    label: 1,
    value: "批量更换部门",
    permission: [personnelAuthList.user.change_department],
  },
  {
    label: 2,
    value: "添加设备MAC地址",
    permission: [personnelAuthList.user.device_mac_address],
  },
  {
    label: 3,
    value: "批量是否验证设备MAC地址",
    permission: [personnelAuthList.user.verify_mac_batch],
  },
  {
    label: 4,
    value: "批量是否验证专属链接",
    permission: [personnelAuthList.user.verify_links_batch],
  },
  {
    label: 5,
    value: "批量是否允许账号密码登陆",
    permission: [personnelAuthList.user.allow_batch_login],
  },
  {
    label: 6,
    value: "批量推送专属链接",
    permission: [personnelAuthList.user.push_links_batch],
  },
  {
    label: 7,
    value: "批量启用/禁用[跨境兴运]授权",
    permission: [personnelAuthList.user.cross_border_auth_batch],
  },
  {
    label: 8,
    value: "批量复制用户权限",
    permission: [personnelAuthList.user.copy_user],
  },
];
